GetLastError
Definition:
GetLastError()
Description:
Obtain a description of the last error which occurred.
Platforms:
All
Parameters:
none
Returns:
String containing the last error which occurred. If no errors have occurred, an empty string is returned, "".
Notes:
This Method reports on a wider range of error types than the older GetLastDataError, which only reports data and communications errors. You can only use this Method, if the Enable Script Error Handling Property in the Project Properties is set to True, otherwise you must use GetLastDataError to obtain the last error message.
Additional error reporting Methods, such as GetNumSyncErrors, GetSyncErrorDescription etc., are available which report errors updating and creating records during data transfers.
See also:
Runtime Error Handling and Debugging